﻿namespace Preactor.ObjectModel.Interfaces.MaterialControl
{
    using Preactor.ObjectModel.Attributes;
    using Preactor.ObjectModel.Entities;

    public interface ICoProduct : IPreactorRecord
    {
        [PreactorField("COPRODUCT TABLE", FieldDeclarationType.FieldClassification)]
        int Number { get; set; }

        [PreactorField("Order No.", FieldDeclarationType.FieldClassification)]
        string OrderNumber { get; set; }

        [PreactorField("Op. No.", FieldDeclarationType.FieldClassification)]
        int OperationNumber { get; set; }

        [PreactorField("COPRODUCT PART NO", FieldDeclarationType.FieldClassification)]
        string PartNumber { get; set; }

        [PreactorField("COPRODUCT QUANTITY", FieldDeclarationType.FieldClassification)]
        double Quantity { get; set; }

        [PreactorField("QUANTITY PER UNIT", FieldDeclarationType.FieldClassification)]
        bool MultiplyByOrderQuantity { get; set; }

        [PreactorField("Import Marker", FieldDeclarationType.FieldClassification)]
        int ImportMarker { get; set; }
    }
}